-
Home
-
Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories
-
4.1.2
-
Code
-
Classes
- PostModel
Total Complexity |
45 |
Dependencies |
7 |
Dependents |
0 |
Total lines |
350 |
Lines of code |
189 |
Logical lines of code |
84 |
Comment lines |
59 |
Methods |
27 |
Properties |
5 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
publish() |
S |
60 |
4 |
12 |
updateMeta() |
S |
57 |
3 |
18 |
deleteMeta() |
S |
58 |
3 |
17 |
getPostInstance() |
S |
65 |
4 |
9 |
getTermNames() |
S |
59 |
3 |
15 |
__construct() |
S |
62 |
3 |
12 |
getTermIDs() |
S |
68 |
2 |
7 |
getTerms() |
S |
66 |
2 |
8 |
setPostStatus() |
S |
65 |
2 |
9 |
getPostTypeSingularLabel() |
S |
68 |
2 |
7 |
postExists() |
S |
76 |
1 |
4 |
update() |
S |
69 |
1 |
7 |
unstick() |
S |
77 |
1 |
4 |
stick() |
S |
77 |
1 |
4 |
trash() |
S |
80 |
1 |
3 |
delete() |
S |
78 |
1 |
3 |
setTerms() |
S |
78 |
1 |
3 |
appendTerms() |
S |
78 |
1 |
3 |
addMeta() |
S |
67 |
1 |
8 |
getPostType() |
S |
80 |
1 |
3 |
getMeta() |
S |
66 |
1 |
9 |
getPostId() |
S |
81 |
1 |
3 |
getPostEditLink() |
S |
80 |
1 |
3 |
getPermalink() |
S |
80 |
1 |
3 |
metadataExists() |
S |
66 |
1 |
9 |
getTitle() |
S |
80 |
1 |
3 |
getPostStatus() |
S |
80 |
1 |
3 |